package org.linlinjava.litemall.admin.vo.store;

import org.linlinjava.litemall.db.domain.AgedmallGoodsEqu;
import org.linlinjava.litemall.db.domain.AgedmallRfidGoodsProduct;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class RfidListVo {
    private Long id;
    private String rfid;
    private LocalDateTime onlineTime;
    private LocalDateTime updateTime;
    private Long useTime;
    private Integer stat;

    public RfidListVo() {
    }

    public RfidListVo(AgedmallGoodsEqu goodsEqu) {
        this.id = goodsEqu.getId();
        this.rfid = goodsEqu.getEquId()+"";
        this.onlineTime = goodsEqu.getOnlineTime();
        this.updateTime = goodsEqu.getUpdateTime();
        this.useTime = goodsEqu.getUseTime();
        this.stat = goodsEqu.getState();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRfid() {
        return rfid;
    }

    public void setRfid(String rfid) {
        this.rfid = rfid;
    }

    public LocalDateTime getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(LocalDateTime onlineTime) {
        this.onlineTime = onlineTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUseTime() {
        return useTime;
    }

    public void setUseTime(Long useTime) {
        this.useTime = useTime;
    }

    public Integer getStat() {
        return stat;
    }

    public void setStat(Integer stat) {
        this.stat = stat;
    }
}
